<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="content-type" />
<title> 所有商品分类 - <?=SITE_NAME?> </title>
<?php include VIEWS.'header.html'?>

</head>

<body>

<?php include VIEWS.'topbar.html'?>

<div id="content">

    <?php include VIEWS.'leftnav.html'?>

    <div id="right">
    <?php include VIEWS.'sidesearch.html'?>

    <h1>乐铺商品分类</h1>
    
    <div style="float:right;" class="px12">
    &#8250; <script type="text/javascript">needHelp();</script><noscript><a href="<?php echo $_servername?>/forum/service/?from=itemlist" target="_blank">需要帮助？</a></noscript>&nbsp;&nbsp;
    </div>

<?php if(count($list['list'])==0):?>
<div class="errbox roundNormal">&nbsp;&nbsp;&nbsp;目前暂时没有任何物品分类。</div><br clear="all">
<?php else:?>

<table cellpadding="5" width="98%" cellspacing="0" border="0">
<tr><td nowrap="nowrap"><img src="/images/icon_arrow_right.gif" alt="arrow right" /><b><a tabindex="1" href="/">推荐分类</a>：</b></td>
<td width="100%" align="left">
<ul style="display:inline;list-style-type:none;line-height:180%">
<li style="float:left;margin-right:.5em"><a tabindex="2" href="/whatnew">新品上架</a></li>
<li style="float:left;margin-right:.5em"><a tabindex="2" href="/whathot">热门物品</a></li>
<li style="float:left;margin-right:.5em"><a tabindex="2" href="/whatoffer">特价专区</a></li>
</ul>
</td>
</tr>
<?php
foreach ($list['list'] as $v):
$itemsslist_i++;

//不显示品牌专区和清仓区
if (in_array($v['id'], array(8, 26))) continue;    
?>
<tr><td nowrap="nowrap"><img src="/images/icon_arrow_right.gif" alt="arrow right" /><b><a tabindex="1" href="/itemslist/<?php echo $v['id']?>"><?php echo $v['name']?></a>：</b></td>
<td width="100%" align="left">
<ul style="display:inline;list-style-type:none;line-height:180%">
<?php foreach ($v['list'] as $vv):?>
<li style="float:left;margin-right:.5em"><a tabindex="2" href="/itemslist/<?php echo $vv['id']?>"><?php echo $vv['name']?></a></li>
<?php endforeach;?>
</ul>
</td>
</tr>
<?php endforeach;?>
</table>

<br /><br />
<img src="/images/icon_arrow_red_right.gif" alt="arrow right" /><a tabindex="3" href="/itemslist">点击这里查看乐铺的所有物品</a>
<br /><br />
<img src="/images/icon_arrow_red_right.gif" alt="arrow right" /><a tabindex="3" href="/tags/">点击这里查看乐铺的所有物品标签</a>

<?php endif;?>

    </div>
</div>

<?php include VIEWS.'copyright.html'?>

</body>
</html>
